package com.juzipi.inter.mid;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.juzipi.inter.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
这里放中间表
 */

/**
 * @Author juzipi
 * @Date 2021/4/21 15:01
 * @Info 试卷试题中间表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PaperQuestionMid extends BaseEntity {


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //试卷id
    private Long paperId;

    //试题id
    private Long questionId;

}
